package com.spring.aop.declareparents;

import org.springframework.stereotype.Component;

/**
 * @ClassName DuckFood
 * @Description
 * @Author suncx
 * @Date 2020/6/27 15:00
 * @Version 1.0
 */
@Component
public class DuckFood implements Food {
    public void eat() {
        System.out.println("鸭子看起来很好吃。。。");
    }
}
